package as.entity;

import java.sql.Time;

/**
 * Device entity. @author MyEclipse Persistence Tools
 */

public class Device implements java.io.Serializable {

	// Fields

	private Integer deviceId;
	private Integer deviceNo;
	private String ip;
	private Integer portNo;
	private Integer password;
	private Time startTime;
	private Time endTime;

	// Constructors

	/** default constructor */
	public Device() {
	}

	/** minimal constructor */
	public Device(Integer deviceId, Integer deviceNo, String ip,
			Integer portNo, Integer password) {
		this.deviceId = deviceId;
		this.deviceNo = deviceNo;
		this.ip = ip;
		this.portNo = portNo;
		this.password = password;
	}

	/** full constructor */
	public Device(Integer deviceId, Integer deviceNo, String ip,
			Integer portNo, Integer password, Time startTime, Time endTime) {
		this.deviceId = deviceId;
		this.deviceNo = deviceNo;
		this.ip = ip;
		this.portNo = portNo;
		this.password = password;
		this.startTime = startTime;
		this.endTime = endTime;
	}

	// Property accessors

	public Integer getDeviceId() {
		return this.deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public Integer getDeviceNo() {
		return this.deviceNo;
	}

	public void setDeviceNo(Integer deviceNo) {
		this.deviceNo = deviceNo;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getPortNo() {
		return this.portNo;
	}

	public void setPortNo(Integer portNo) {
		this.portNo = portNo;
	}

	public Integer getPassword() {
		return this.password;
	}

	public void setPassword(Integer password) {
		this.password = password;
	}

	public Time getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Time startTime) {
		this.startTime = startTime;
	}

	public Time getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Time endTime) {
		this.endTime = endTime;
	}

}